<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
echo 'xx';
function handleError($errno, $errstr, $errfile, $errline)
 { 
 echo "<pre>";   
 echo "<b>Custom error:</b> [$errno] $errstr<br />";
 echo " Error on line $errline in $errfile<br />";
 echo "Ending Script";
 echo "</pre>";
 }

//set error handler
set_error_handler("handleError");


